<template>
  <div class="wrap" v-if="showwrap">{{ text }}</div>
</template>

<script>
export default {
  name: 'Popup'
}
</script>

<style lang="stylus" scoped>
  .wrap
    position: fixed
    left: 60%
    top: 25%
    background: rgba(0,0,0,0.35)
    padding: 10px
    border-radius: 5px
    transform: translate(-50%, -50%)
    color: #fff
</style>
